<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F.diyForm演示</title>
<style type="text/css">
*{margin:0; padding:0;}
form{margin:15px;}
</style>
<script type="text/javascript" src="../../1st.js"></script>
</head>
<body>
<form name="myform">
    姓名：<input type="text"   name="username" />
    <br/>
    性别：
    <input type="radio" name="sex" value="1" skin="7" />男
    <input type="radio" name="sex" value="2" skin="8" />女
    <br/>
    爱好：
    <input type="checkbox" name="fav" value="1" skin="7" />下棋
    <input type="checkbox" name="fav" value="2" skin="10" checked="checked" />上网
    <input type="checkbox" name="fav" value="3" skin="7" />听歌
    <input type="checkbox" name="fav" value="4" skin="7" />玩游戏
    <input type="checkbox" name="fav" value="5" skin="7" />看小说
    <input type="checkbox" name="fav" value="6" skin="7" />电脑
	<br/>
	<input type="file" name="upFile" skin="button" val="上传图片" />
</form>
<button onclick="F.alert(F.getForm('myform'));">查看表单的值</button>

<script type="text/javascript">
F.diyForm("myform");
</script>
</body>
</html>